package edu.tamu.cse.teamproject1.Database.Exceptions;

/**
 * An exception case indicating that a SQL Exception occured
 * 
 * @author Christopher Weldon <chris@chrisweldon.net>
 * @since Release 0.1.0
 */
public class SqlException extends Exception {
	/**
	 * Generated serializable UID
	 */
	private static final long serialVersionUID = -6655832533824244759L;

	/**
	 * Constructs a SqlException allowing a detailed error message
	 * 
	 * @param message Detailed error message
	 */
	public SqlException(String message) {
		super(message);
	}
	
	/**
	 * Constructs a SqlException allowing a detailed error message and the cause
	 * 
	 * @param message Detailed error message
	 * @param cause Exception causing the problem
	 */
	public SqlException(String message, Throwable cause) {
		super(message, cause);
	}
}
